package nl.nhl.idp.Views.Charts;

/**
 * Represents a single DataPoint in a DataSet
 * @author Alex Wijnbeek
 * 
 */
public class DataPoint
{
	//X Coordinate
	float x;
	public float GetX(){return x;}
	public void SetX(float x){this.x = x;}

	//Y Coordinate
	float y;
	public float GetY(){return y;}
	public void SetY(float y){this.y = y;}
	
	/**
	 * Creates a new dataPoint
	 * @param x The datapoint's X coordinate
	 * @param y The datapoint's Y coordinate
	 */
	public DataPoint(float x, float y)
	{
		this.x = x;
		this.y = y;
	}
}
